package com.bci.pwtz.mysql.model;

public class BusinessRef {
    private Long refId;

    private String aTableName;

    private String bTableName;

    private String bRefFieldName;

    private String bOtherCondition;
    
    private Integer flag;    

    public Long getRefId() {
        return refId;
    }

    public void setRefId(Long refId) {
        this.refId = refId;
    }

    public String getaTableName() {
        return aTableName;
    }

    public void setaTableName(String aTableName) {
        this.aTableName = aTableName == null ? null : aTableName.trim();
    }

    public String getbTableName() {
        return bTableName;
    }

    public void setbTableName(String bTableName) {
        this.bTableName = bTableName == null ? null : bTableName.trim();
    }

    public String getbRefFieldName() {
        return bRefFieldName;
    }

    public void setbRefFieldName(String bRefFieldName) {
        this.bRefFieldName = bRefFieldName == null ? null : bRefFieldName.trim();
    }

    public String getbOtherCondition() {
        return bOtherCondition;
    }

    public void setbOtherCondition(String bOtherCondition) {
        this.bOtherCondition = bOtherCondition == null ? null : bOtherCondition.trim();
    }
    
    public Integer getFlag()
    {
        return flag;
    }

    public void setFlag(Integer flag)
    {
        this.flag = flag;
    }

    @Override
    public String toString()
    {
        return "BusinessRef [refId=" + refId + ", aTableName=" + aTableName + ", bTableName=" + bTableName + ", bRefFieldName=" + bRefFieldName + ", bOtherCondition=" + bOtherCondition + ", flag=" + flag + "]";
    }
    
}